package com.ttdc.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ttdc.pojo.Role;
import com.ttdc.pojo.RoleExample;

public interface RoleService {

	 int countByExample(RoleExample example);

	    int deleteByExample(RoleExample example);

	    int deleteByPrimaryKey(Integer roleId);

	    int insert(Role record);

	    int insertSelective(Role record);

	    List<Role> selectByExample(RoleExample example);

	    Role selectByPrimaryKey(Integer roleId);

	    int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);

	    int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);

	    int updateByPrimaryKeySelective(Role record);

	    int updateByPrimaryKey(Role record);

		List<Role> selectAllRole();
}
